let refObj = {current:null};
function Counter() {
    let count = Date.now();//1691135635814
    refObj.current = count;
    console.log('count',refObj.current)//1691135635814
    setTimeout(()=>{
        console.log('setTimeout',refObj.current)
    },3000);
}
Counter()
Counter()